//
//  Namespace+Device.swift
//  mall-ios
//
//  Created by Meak Tsui on 2018/11/27.
//  Copyright © 2018 Meak Tsui. All rights reserved.
//

import Foundation
import MTHybrid

extension Ns {
    static let Device = Ns("device")
}

class DeviceNs {
    static func actionHandlers() -> [MTEventHandler]{
        var handlers = [MTEventHandler]()
        handlers.append(Device_GetBatteryInfoHandler())
        handlers.append(Device_GetClipboardDataHandler())
        handlers.append(Device_SetClipBoardDataHandler())
        return handlers
    }
    
    static func producers() -> [MTEventProducer] {
        let producers = [MTEventProducer]()
        return producers
    }
}
